package cn.itcast.wanxinp2p.consumer.mapper;

import cn.itcast.wanxinp2p.consumer.entity.Consumer;


import feign.Param;
import org.mapstruct.Mapper;



@Mapper
public interface ConsumerMapper  {

    Consumer selectByMobile(String mobile);

    Integer register(Consumer consumer);

    Integer deleteByMobile(String mobile);


    Integer updateByStatus(@Param("status") Integer status, @Param("mobile") String mobile);
}